﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
    {

}
<div class="layui-form layui-col-space2 childrenBody" id="send-form"  style="width:95%;">
    <div class="layui-col-sm7" style="padding: 1px;background-color: #F2F2F2;">
        <div class="layui-card">
            <div class="layui-form-item" style="padding: 3px 0px 0px;margin-bottom:10px">
                <label class="layui-form-label">模糊查询：</label>
                <div class="layui-input-inline" style="width:220px">
                    <input type="text" class="layui-input" id="txtKeyWord" name="txtKeyWord" placeholder="用户名称/电话/QQ/邮箱/组织/岗位" />
                </div>
                <div class="layui-inline">
                    <a class="layui-btn" id="funBtnSearch"><i class="layui-icon layui-icon-list"></i>搜索</a>
                </div>
            </div>
            <table class="layui-hide" id="userList" lay-filter="userList"></table>
        </div>
    </div>
    <div class="layui-col-sm5" style="padding: 1px;">
        <div class="layui-card">
            <div class="layui-form-item">
                <label class="layui-form-label">接收对象：</label>
                <div class="layui-input-block">
                    <select name="receiver_type" id="receiver_type">
                        <option value="100">所有用户</option>
                        <option value="101">列表用户</option>
                        <option value="102">选中用户</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">消息标题：</label>
                <div class="layui-input-block">
                    <textarea class="layui-textarea" lay-verify="required" name="title" maxlength="50" placeholder="请输入消息标题" style="min-height: 50px;"></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">消息内容：</label>
                <div class="layui-input-block">
                    <textarea class="layui-textarea content" lay-verify="required" name="content" maxlength="200" placeholder="请输入消息内容" style="min-height: 85%"></textarea>
                </div>
            </div>
        </div>
    </div>

    <div class="layer-footer-10">
        <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="sendButton">立即发送</button>
        <button lay-btn="" class="layui-btn layui-btn-sm" id="btnClose">关闭</button>
    </div>
</div>
@section Foot
    {
    <script src="~/areas/basic/js/message.add.js"></script>
}

